home *** CD-ROM | disk | FTP | other *** search
/ SVM Mac CD-ROM 59 / SVM Mac CD-ROM - No 59.iso / Wanadoo / Media / PresentL.dxr / Internal_201_MotLien.ls < prev    next >
Encoding:
Text File  |  2000-01-18  |  748 b   |  35 lines

  1. property pMemb0, pMemb1, pMemb2
  2.  
  3. on mouseEnter me
  4.   set vName to the name of member the memberNum of sprite the currentSpriteNum
  5.   delete char -30000 of vName
  6.   set pMemb0 to vName & "0"
  7.   set pMemb1 to vName & "1"
  8.   set pMemb2 to vName & "2"
  9.   if pMemb0 <> VOID then
  10.     set the member of sprite the currentSpriteNum to pMemb1
  11.     cursor(280)
  12.   end if
  13. end
  14.  
  15. on mouseDown me
  16.   if pMemb2 <> VOID then
  17.     set the member of sprite the currentSpriteNum to pMemb2
  18.     cursor(290)
  19.   end if
  20. end
  21.  
  22. on mouseUp me
  23.   if pMemb1 <> VOID then
  24.     set the member of sprite the currentSpriteNum to pMemb1
  25.     cursor(280)
  26.   end if
  27. end
  28.  
  29. on mouseLeave me
  30.   if pMemb0 <> VOID then
  31.     set the member of sprite the currentSpriteNum to pMemb0
  32.     cursor(-1)
  33.   end if
  34. end
  35.